<?php
include 'services.php';
$services = services::getInstance();

switch ($_GET['c']) {
    case 'login':
        $services->login();
        break;

    case 'getsubject':
        $services->getsubject();
        break;

    case 'getmyfile':
        $services->getmyfile();
        break;

    case 'getmyinfo':
        $services->getmyinfo();
        break;

    case 'addmyfile':
        $services->addmyfile();
        break;


    case 'addmyfile2':
        $services->addmyfile2();
        break;

    default:
        '请求地址错误！';
        break;
}
